<template>
  <div class="home-wrapper">
     <newNav/>
     <div class="content">
        <div class="top">
          <img src="../assets/images/metapool-icon-popeye.png" alt="">
          <p>{{$t('user.U_rule_proposal')}}</p>
          <span>{{$t('user.U_rule_organization')}}</span>
        </div>
        <div class="unde-text">
          <div>{{$t('user.U_rule_completely')}}</div>
          <div>{{$t('user.U_rule_sponsored')}}</div>
          <div>{{$t('user.U_rule_experiment')}}</div>
        </div>
        <div class="unde-dao">
          <div>
              <div>{{$t('user.U_rule_Community')}}</div>
              <div>6{{$t('user.U_rule_Number')}}</div>
          </div>
          <div>
              <div>{{$t('user.U_rule_Audit')}}</div>
              <div>3{{$t('user.U_rule_Number')}}</div>
          </div>
          <div>
              <div>{{$t('user.U_rule_Exchange')}}</div>
              <div>3{{$t('user.U_rule_Number')}}</div>
          </div>
          <div>
              <div>{{$t('user.U_rule_Media')}}</div>
              <div>3{{$t('user.U_rule_Number')}}</div>
          </div>
          <div>
              <div>{{$t('user.U_rule_Volunteer')}}</div>
              <div>45{{$t('user.U_rule_Number')}}</div>
          </div>
        </div>
        <div class="bottom-bai">
          <homeBottom></homeBottom>
        </div>
        <div class="bottom-area">
          Copyright © 2020,Metapool
        </div>
     </div>
  </div>
</template>

<script>
import newNav from '../components/newNav'
import homeBottom from '../components/public/homeBottom'
export default {
  name: 'undeveloped',
  data () {
    return {

    }
  },  
  components:{ newNav,homeBottom },
  mounted() {
   
  },
  methods: {
    handleBtnEvent(opts) {
      switch(opts.type){
        case 'route':
        this.$router.push(opts.path)
        break;
        case 'link':
        window.open(opts.link, '_blank');
        break;
        default:
          break
      }
    },
  }
}
</script>

<style scoped lang="scss">
.home-wrapper {
  color: #000;
  background: #fff;
  font-size: 16px;
  >.content {
    padding-top: 350px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    >.top {
      >img {
        width: 202px;
      }
      >p {
        font-weight: bold;
        font-size: 36px;
      }
      >span {
        padding-top: 20px;
        font-size: 18px;
        opacity: .8;
      }
    }
    >.list {
      margin-top: 90px;
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      justify-content: center;
      >.item {
        width: 280px;
        height: 322px;
        border: 1px solid #E5E5E5;
        box-shadow: -3px 0px 30px 0px rgba(97, 97, 97, 0.2);
        border-radius: 20px;
        margin: 0 17px 34px;
        display: flex;
        align-items: center;
        flex-direction: column;
        padding: 24px;
        >img {
          width: 80px;
          height: 80px;
          margin: 0 0 20px;
        }
        >div {
          font-size: 20px;
          font-weight: bold;
        }
        >p{
          opacity: .8;
          padding: 12px 0;
        }
        >span {
          color: #EFB133;
          opacity: .7;
        }
        >.btn {
          margin-top: 20px;
          width: 161px;
          height: 41px;
          line-height: 41px;
          text-align: center;
          color: #fff;
          font-size: 16px;
          font-weight: 400;
          background: #EFB133;
          border-radius: 21px;
        }
      }
    }
    >.bottom-area {
      margin-top: auto;
      padding: 60px 0;
    }
  }
}

@media only screen and (min-width: 0px) and (max-width: 639px){
  .home-wrapper>.content {
    padding: 130px 30px 0;
  }
  .bottom-bai{
    padding: 15px;
    padding-top: 60px;
  }
  .unde-text{
    margin-top: 50px;
    text-align: left;
    margin-bottom: 20px;
    font-size: 13px;
    color: rgba(0, 0, 0, .8);
    >div:nth-child(1),>div:nth-child(2){
      margin-bottom: 12px;
    }
  }
  .unde-dao{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    text-align: left;
    >div{
      width: 150px;
      padding: 18px 14px;
      font-size: 13px;
      color: rgba(0, 0, 0, .8);
      border: 1px solid #E5E5E5;
      border-radius: 15px;
      margin-bottom: 15px;
      >div:nth-child(1){
        font-size: 16px;
        font-weight: bold;
        margin-bottom: 8px;
      }
    }
    >div:nth-child(1),>div:nth-child(3),>div:nth-child(5){
      margin-right: 15px;
    }
  }
}


@media only screen and (min-width: 640px) {
  .bottom-bai{
    width: 1200px;
    margin: 0 auto;
    padding-top:80px;
    padding-bottom: 20px;
  }
  .unde-text{
    width: 1200px;
    margin: 0 auto;
    text-align: left;
    margin-top: 113px;
    margin-bottom: 59px;
    font-size: 16px;
    color: rgba(0, 0, 0, .8);
    >div:nth-child(1),>div:nth-child(2){
      margin-bottom: 20px;
    }
  }
  .unde-dao{
    display: flex;
    width: 1200px;
    margin: 0 auto;
    text-align: left;
    >div{
      width: 170px;
      padding: 20px 18px;
      font-size: 14px;
      color: rgba(0, 0, 0, .8);
      border: 1px solid #E5E5E5;
      border-radius: 15px;
      margin-right: 18px;
      >div:nth-child(1){
        font-size: 16px;
        font-weight: bold;
        margin-bottom: 15px;
      }
    }
  }
}

</style>
